Platform Explorer / Nuxeo Platform 2021.53

Component org.nuxeo.ecm.diff.content.adapter.ContentDiffAdapterManagerComponent

Documentation

Resolution Order

175
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Start Order

842
The start order represents the order in which this component has been started by the Nuxeo Runtime framework.
This number is interesting to tweak if your Java component interacts with other components, and needs to be started before or after another one.
It can be changed by implementing the method "Component#getApplicationStartedOrder()" on your Java component: components are sorted according to this reference value, in increasing order.
The default value is 1000, and the repository initialization uses number 100. Negative values can also be used.

Implementation

Class: org.nuxeo.ecm.diff.content.adapter.ContentDiffAdapterManagerComponent

Services

Extension Points

XML Source

<?xml version="1.0"?>
<component
  name="org.nuxeo.ecm.diff.content.adapter.ContentDiffAdapterManagerComponent">
  <implementation
    class="org.nuxeo.ecm.diff.content.adapter.ContentDiffAdapterManagerComponent" />

  <documentation>
    @author Antoine Taillefer (ataillefer@nuxeo.com)
  </documentation>

  <service>
    <provide
      interface="org.nuxeo.ecm.diff.content.adapter.ContentDiffAdapterManager" />
  </service>

  <extension-point name="adapterFactory">
    <documentation>
      @author Antoine Taillefer (ataillefer@nuxeo.com)
    </documentation>
    <object
      class="org.nuxeo.ecm.diff.content.adapter.ContentDiffAdapterFactoryDescriptor" />
  </extension-point>

  <extension-point name="mimeTypeContentDiffer">
    <documentation>
      Allows to contribute default implementation of
      content diff according to the mime type.
    </documentation>
    <object
      class="org.nuxeo.ecm.diff.content.adapter.MimeTypeContentDifferDescriptor" />
  </extension-point>

  <extension-point
    name="htmlConversionBlacklistedMimeTypes">
    <documentation>
      @since 10.10

      Allows to contribute the list of blacklisted mime types for HTML
      conversion.

      By default, contributing a list merges its mime types
      with the existing ones.
      To remove a mime type, use enabled=false.
      <code>
        <extension
          target="org.nuxeo.ecm.diff.content.adapter.ContentDiffAdapterManagerComponent"
          point="htmlConversionBlacklistedMimeTypes">
          <mimeTypes>
            <mimeType>application/msword</mimeType>
            <mimeType>application/rtf</mimeType>
            <mimeType enabled="false">application/pdf</mimeType>
          </mimeTypes>
        </extension>
      </code>

      To override the whole list, use override="true".
      <code>
        <extension
          target="org.nuxeo.ecm.diff.content.adapter.ContentDiffAdapterManagerComponent"
          point="htmlConversionBlacklistedMimeTypes">
          <mimeTypes override="true">
            <mimeType>application/msword</mimeType>
          </mimeTypes>
        </extension>
      </code>
    </documentation>
    <object
      class="org.nuxeo.ecm.diff.content.MimeTypesDescriptor" />
  </extension-point>

</component>